﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="Control_Menu" %>
<script type="text/javascript">
    $(document).ready(function () {
        var rel = GetURL("parent");
        $('[rel="' + rel + '"]').addClass('active');

        var rel = GetURL("child");
        $('[rel="' + rel + '"]').addClass('active');
    });
</script>
<asp:Panel ID="Menu1" runat="server" Visible="false">
    <ul id="topmenu" class="menu" runat="server"></ul>
</asp:Panel>

<asp:Panel ID="Menu2" runat="server" Visible="false">
    <ul id="sidemenu" class="sidebar-menu" runat="server"></ul>
</asp:Panel>
